package test01;

import java.util.Scanner;

public class demo13 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.print("身高：");
        double height=sc.nextDouble();
        System.out.print("体重(斤)：");
        double weight=sc.nextDouble();
        double result=(height-108)*2;
        if((result>=(weight-10) && result<=(weight+10))){
            System.out.println("体重合格");
        }else{
            System.out.println("体重不合格");
        }
    }
}
